package com.youlai.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.system.common.model.Option;
import com.youlai.system.model.entity.Department;
import com.youlai.system.model.form.DepartmentForm;
import com.youlai.system.model.vo.DepartmentVO;

import java.util.List;

public interface DepartmentService extends IService<Department> {
    List<DepartmentVO> listDepartments();

    Integer saveDept(DepartmentForm formData);

    boolean deleteByIds(String ids);

    List<Option> listManage();

    DepartmentForm getDepartmentForm(Long id);

    String selectBydepId(Long deptId);

    Integer selectByDepName(String departmentName);

}
